package com.matuw.android.util;

import android.app.Activity;

/**
 * @author Shihwan
 * @date 2025/6/13
 */
public class ActivityUtils {

    public static boolean isAvailable(Activity activity) {
        return !(activity == null || activity.isFinishing() || activity.isDestroyed());
    }
}
